/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.dem;

/**
 * Класс, описывающий данные события.
 *
 * @author morfant
 */
public class Event {

    private int startTime;
    private int appearanceTime;
    private int relativeTime;
    private String eventType;

    public Event(int appearanceTime, int relativeTime, int startTime, String eventType) {
        this.appearanceTime = appearanceTime;
        this.relativeTime = relativeTime;
        this.eventType = eventType;
        this.startTime = startTime;
    }

    public int getAppearanceTime() {
        return appearanceTime;
    }

    public void setAppearanceTime(int absoluteTime) {
        this.appearanceTime = absoluteTime;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public int getRelativeTime() {
        return relativeTime;
    }

    public void setRelativeTime(int relativeTime) {
        this.relativeTime = relativeTime;
    }

    public int getStartTime() {
        return startTime;
    }

    public void setStartTime(int startTime) {
        this.startTime = startTime;
    }
}
